#include <iostream>
#include <boost/array.hpp>
using namespace std;

int main (int argc, char *argv)
{
    boost::array<int, 10> data = {{1,2,4}};

    unsigned int size = data.size();
    cout << "size = " << size << endl;

    for (unsigned int i = 0; i < data.size(); ++i) {
        data[i] = i * 3;
    }
    int t = data[10];
    cout << t << endl;

    for (unsigned int i = 0; i < data.size(); ++i) {
        cout << data[i] << endl;
    }

    return 0;
}
